import React from 'react'
import useAuth from '@/hooks/useAuth'

const Home:React.FC = ()=> {
    // 获取权限
  const isAuthenticated = useAuth()
  if(!isAuthenticated) {
    return null  //// 如果没有通过验证，返回null或加载中状态
  } 


  return (
    <div>
      home
    </div>
  )
}

export default Home
